package com.eastfair.pay.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.eastfair.annotation.annotation.vo.VoInfo;
import com.eastfair.annotation.model.BaseVoGroupClass;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.eastfair.vo.BaseVO;

/**
 * <p>
 * 实体类
 * 收款账户
 * </p>
 *
 * @author clm
 * @since 2023-02-22
 */
@Data
@ApiModel(value = "CollectionAccountVO", description = "收款账户")
public class CollectionAccountVO extends BaseVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @VoInfo(groups = {BaseVoGroupClass.all.class})
    private Long id;

    /**
     * 是否启用：1是；0否
     */
    @ApiModelProperty(value = "是否启用：1是；0否")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer isDeleted;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long subsystemId;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long tenantId;
    /**
     * 收款单位
     */
    @ApiModelProperty(value = "收款单位")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Size(max = 255, message = "收款单位长度不能超过255")
    private String companyName;
    /**
     * 商户类型(MERCHANT_TYPE)
     */
    @ApiModelProperty(value = "商户类型(MERCHANT_TYPE)")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Size(max = 255, message = "商户类型(MERCHANT_TYPE)长度不能超过255")
    private String companyAccountType;
    /**
     * 商户号
     */
    @ApiModelProperty(value = "商户号")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Size(max = 255, message = "商户号长度不能超过255")
    private String merchantNum;
    /**
     * 开户行
     */
    @ApiModelProperty(value = "开户行")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Size(max = 255, message = "开户行长度不能超过255")
    private String bank;
    /**
     * 银行卡号
     */
    @ApiModelProperty(value = "银行卡号")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String bankcardNum;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private LocalDateTime createTime;
}
